package com.taiji.dicom4cloud.smart.alarm.common;

/**
 * @Description
 * @Author fanxl
 * @Date 2020/11/13
 **/
public enum EnumHandler {
    START("START","开机"),
    OPERATION("OPERATION","设备操作"),
    ALARM("ALARM","预警"),
    DO_STATUS ("DO_STATUS","DO状态"),
    RESET ("RESET","复位设备"),
    REAL_DATA ("REAL_DATA","实时数据"),
    NO_MESSAGE("","空消息"),
    BREAK_DOWN("BREAK_DOWN","故障"),
    NORMAL("NORMAL","正常"),
    ALARM_RECOVERY("ALARM_RECOVERY","预警恢复"),
    BREAK_DOWN_RECOVERY("BREAK_DOWN_RECOVERY","故障恢复"),
    MALIGNANT_ALARM("MALIGNANT_ALARM","恶性负载"),
    BAD_LOAD("BAD_LOAD","读恶性负载"),
    UNKNOW_ALARM("UNKNOW_ALARM","未找到消息类型");


    private String type;
    private String info;

    private EnumHandler(String type, String info) {
        this.type = type;
        this.info = info;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
}
